<?php if($vTimes > 0): ?>
    <script type="text/javascript"> 
        flowplayer("player", "<?php echo base_url();?>js/swf/flowplayer-3.1.5.swf",{
            clip: {
                url: '<?php echo base_url();?>video/Test.mp4',
                autoPlay: false,
                autoBuffering: true
            } ,
            plugins:  {

                // default controls with the same background color as the page background
                controls:  {
                    scrubber:false,
                    mute:true,
                    autoHide: true
                }
            }
        });


    </script>    
<?php endif;?>

<!-- start content-outer -->
<div id="content-outer">
<!-- start content -->
<div id="content">

<div style="margin:30px auto;max-width:600px;" >
		
    <?php if($vTimes > 0): ?>
        <a  href="<?php echo base_url();?>video/Test.mp4" style="display:block;width:400px; height:300px" id="player"></a>
    <?php else: ?>
        <div style="color:red;"><b>Your Permission has been over. Please contact admin</b></div>
    <?php endif; ?>
    
		
</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>

</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer -->

    
